package ooday02.JavaHomework.Demo02;
/** 演示AnimalTest类 */
public class AnimalTest01 {
    public static void main(String[] args) {
        Dog01 dog = new Dog01("小白", 2, "白");
        dog.eat();
        dog.drink();
        dog.lookHome();
        System.out.println();

        Chick01 chick = new Chick01("小黄", 3, "黄");
        chick.eat();
        chick.drink();
        chick.layEggs();
        System.out.println();

        Fish01 fish = new Fish01("小蓝", 4, "蓝");
        fish.eat();
        fish.drink();
    }
}
